projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17aa3e
)
c-defun-name: Return fully qualified method names when wanted in C++, etc.
author
Alan Mackenzie
<acm@muc.de>
Tue, 30 May 2017 17:07:12 +0000
(17:07 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Tue, 30 May 2017 17:07:12 +0000
(17:07 +0000)
* lisp/progmodes/cc-cmds.el (c-defun-name): Use
c-back-over-compound-identifier in place of c-backward-token-2 near the end
of the function.
lisp/progmodes/cc-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-cmds.el
b/lisp/progmodes/cc-cmds.el
index a5ddcb4b92d443c9c5dc4267905e0540e1b2b5f5..9c0798e75299722c339e3c721b67854ff7fd2bba 100644
(file)
--- a/
lisp/progmodes/cc-cmds.el
+++ b/
lisp/progmodes/cc-cmds.el
@@
-1870,7
+1870,7
@@
with a brace block."
(c-backward-token-2)
(c-backward-syntactic-ws))
(setq name-end (point))
- (c-back
ward-token-2
)
+ (c-back
-over-compound-identifier
)
(buffer-substring-no-properties (point) name-end)))))))))
(defun c-declaration-limits (near)